package com.shuaigequtan.loadbalancer;

import com.shuaigequtan.config.MyLoadBalancerRandomConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@LoadBalancerClient(value = "CLOUD-PAYMENT-SERVICE", configuration = MyLoadBalancerRandomConfig.class)
public class Application6060 {
    public static void main(String[] args) {
        SpringApplication.run(Application6060.class,args);
    }
}
